//
//  TeamSpkgModel.swift
//  Health-Doctor
//
//  Created by 勇胡 on 2024/10/9.
//  Copyright © 2024 掌上卫健. All rights reserved.
//团队服务包

import Foundation
import HandyJSON

class TeamSpkgModel: NSObject,HandyJSON {
    required override init(){}
    //服务包id
    public var packId = 0
    //团队id
    public var teamId = ""
     //服务包名称
    public var name = ""
    //服务包类型：1基础服务包 2个性服务包
    public var type = ""
    //是否免费服务包：0否 1是
    public var isFree = ""
    //原始价格
    public var originPrice = ""
    //实际价格
    public var actualPrice = ""
    //服务期限
    public var serviceTerm = 0
    //服务期限单位
    public var termUnit = ""
    //描述
    public var desc = ""
    //适用范围：OWN本机构 OWN_AND_DOWN本机构与下级机构
    public var useScope = ""
    // 启用状态 1:已启用
    public var enable = ""
    
    //本地字段
    public var isSelected = false
    //是否可以选择
    public var isCanSelect = true
    //是否需要隐藏
    public var isNeedHidden = false
    
    func mapping(mapper: HelpingMapper) {
        mapper <<<
            self.desc <-- "description"
    }
}
